package com.buba.appointment.mapper;

import com.buba.appointment.vo.AppointmentVo;
import com.buba.pojo.appointment.Appointment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 预约挂号表 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-06-09
 */
@Mapper
public interface AppointmentMapper extends BaseMapper<Appointment> {
    List<AppointmentVo> regPatById(Integer id);

    List<AppointmentVo> cutPatientDate(Integer id, String begin, String end);

    AppointmentVo regRecordById(Integer id);

    AppointmentVo gethouzhen(Integer id);
}
